axios({
    url: '/init/data',
}).then(data => { })

let lis = document.querySelectorAll('.nav ul li')

lis.forEach(v => {
    v.addEventListener('click', function () {
        document.querySelector('.nav ul .active').classList.remove('active')
        v.classList.add('active')
    })
})